# 导包
import requests,unittest

url='http://10.59.9.14:7003/api/public/login'
method='POST'
json={"username":"17733058407","password":"li123456"}

# login=requests.request(
#     url=url,
#     method=method,
#     json=json
# )
# print(login.json())

login1 = requests.post(url=url, json=json)
print(login1.json())

# print(requests.request(url=url,method=method,json=json).json())